import re
string = """
<body><p>云是白色的</p><p>太阳是金色的</p><p>草是绿色的</p><p>花是红色的</p><p>梦是彩色的</p></body>
"""
result_list = re.findall(r'<p>(.*?)</p>',string)
print(result_list)
result_iter = re.finditer(r'<p>(.*?)</p>',string)
for i in result_iter:
    print(i.group(1))